<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>信用融资</title>
<%@ include file="/WEB-INF/views/layout/public_css.jsp"%>
<%@ include file="/WEB-INF/views/layout/public_js.jsp"%>
<style type="text/css">
.rzdt-info {
	height:200px;
	border:1px solid #ddd;
	padding: 10px;
}
.rzcp-info {
	height:100%;
	border:1px solid #ddd;
	padding: 10px;
}
</style>
<script type="text/javascript">

</script>
</head>
<body>
<%@ include file="/WEB-INF/views/layout/head.jsp"%>
<div class="container-fluid">
    <div class="row">
    	<div class="col-md-6"  style="padding:0 20px 0 40px;"> 
    		<div class="list-title row">
    			<div class="col-md-9"><span class="font-bold font-blue">|</span>融资动态</div>
    			<div class="col-md-3"><a href="<%=basePath%>/civil/getCMByPlate?plate=融资动态"><button type="button" class="btn btn-default">更多>></button></a></div>
    		</div>
    		<div class="rzdt-info row">
    		   			<table class="table nav-table zc-table">
						<col width="70%"></col>
						<col width="30%"></col>
						<c:if test="${empty message}">							
							<tr>
						  		<td></td>
						  		<td></td>
							</tr>
						</c:if>
						<c:if test="${not empty message}">
							<c:forEach items="${message}" var="pol"> 
								<c:if test="${pol.plate == '融资动态'}">
									<tr>
								  		<td><a href="${ctx}/civil/getCM?id=${pol.id}">${pol.title} </a></td>
								  		<td>${pol.createTime}</td>
									</tr>
								</c:if>
							</c:forEach>
						</c:if>
					
					</table>
    		</div>
    	</div>
    	<div class="col-md-6"   style="padding:0 40px 0 20px;">
    		<div class="list-title row">
    			<div class="col-md-9"><span class="font-bold font-blue">|</span>采购结果公告</div>
    			<div class="col-md-3"><a href="<%=basePath%>/civil/getCMByPlate?plate=采购结果公告"><button type="button" class="btn btn-default">更多>></button></a></div>
    		</div>
    		<div class="rzdt-info row">
    						<table class="table nav-table zc-table">
						<col width="70%"></col>
						<col width="30%"></col>
						<c:if test="${empty message}">							
							<tr>
						  		<td></td>
						  		<td></td>
							</tr>
						</c:if>
						<c:if test="${not empty message}">
							<c:forEach items="${message}" var="pol"> 
								<c:if test="${pol.plate == '采购结果公告'}">
									<tr>
								  		<td><a href="${ctx}/civil/getCM?id=${pol.id}">${pol.title} </a></td>
								  		<td>${pol.createTime}</td>
									</tr>
								</c:if>
							</c:forEach>
						</c:if>
				
					</table>
    		</div>
    	</div>
    </div> 
    
    <div class="list-title row" style="margin:10px 10px 0">
		<div class="col-md-9"><span class="font-bold font-blue">|</span>融资产品</div>
		<div class="col-md-3"><a href="<%=basePath%>/civil/getCMByPlate?plate=融资产品"><button type="button" class="btn btn-default">更多>></button></a></div>
	</div>
	<div class="rzcp-info row" style="margin:0px 10px">
		<div class="row">
			
				<c:if test="${not empty message}">
					<c:forEach items="${message}" var="pol"> 
						<c:if test="${pol.plate == '融资产品'}">
							<div class="col-md-3">
								<div class="thumbnail">
									<img src="${ctx}/${pol.oneKeyPic}" alt="...">
								 	<div class="caption">
							  			<h3 class="text-center"><a href="${ctx}/civil/getCM?id=${pol.id}">${pol.title} </a></h3>
							  			<p class="text-center">${pol.createTime}</p>
							  		</div>
								 </div>
							 </div>
						</c:if>
					</c:forEach>
				</c:if>
			
		</div>
	
	</div>
</div>
</body>
</html>